package com.xdf.ecommerce.constant;

/**
 * @author chanchaw
 * @create 2025-10-15 22:49
 */
public final class CommonConstant {
    // 公钥在 common，私钥在认证/授权模块 authority-center 中
    public static final String RSA_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp15YqGJBCcU02y1B7IZFVL4dHSLdqsgafaMHGW6jLVifykUCM+buO1/qjSmWW6E1hQV40noQV8opM7w/nJ2Jo8xKyzI8Sg6OK8+8h1OnGlsgRiwRPqbLAY3AKnVeN6M40St2jn9JRC2d+K0uo3to575nmjac+QkNDuiEqAtAwPV/EZ5ODwCDJ5QxwHMJMHgnnVceCq3dNnNxD10tyiSewU0BtBcR1qNWp2di9DIlZbG7/nQFplYRnYHAg3uY3JNE8zhDe05fdRNn/WOpHrdTkW+Qildm8TgWucrrPg+Z+3KT+pbUlgzthj7AjxMLAUr/Da7IMSgBo5pX2mprtxS9gwIDAQAB";
    // JWT 中存储用户信息的 key
    public static final String JWT_USER_INFO_KEY = "e-commerce-user";
    // 授权中心在 nacos 中的 service-id，在 common 模块中提供给其他兄弟模块使用
    public static final String AUTHORITY_CENTER_SERVICE_ID = "e-commerce-authority-center";
}
